package com.tomecode.tools.maven.settings.model;

/**
 * contains informations required to a server settings.
 * 
 * @author Frastia Tomas
 * 
 */
public final class Server {

	private String id;
	/**
	 * The username used to authenticate.
	 */
	private String username;
	/**
	 * The password used in conjunction with the username to authenticate.
	 */
	private String password;
	/**
	 * The private key location used to authenticate.
	 */
	private String privateKey;
	/**
	 * The passphrase used in conjunction with the privateKey to authenticate.
	 */
	private String passphrase;
	/**
	 * The permissions for files when they are created.
	 */
	private String filePermissions;
	/**
	 * The permissions for directories when they are created.
	 */
	private String directoryPermissions;
	/**
	 * Extra configuration for the transport layer.
	 */
	private String configuration;

	public Server() {

	}

	public final String getId() {
		return id;
	}

	public final void setId(String id) {
		this.id = id;
	}

	public final String getUsername() {
		return username;
	}

	public final void setUsername(String username) {
		this.username = username;
	}

	public final String getPassword() {
		return password;
	}

	public final void setPassword(String password) {
		this.password = password;
	}

	public final String getPrivateKey() {
		return privateKey;
	}

	public final void setPrivateKey(String privateKey) {
		this.privateKey = privateKey;
	}

	public final String getPassphrase() {
		return passphrase;
	}

	public final void setPassphrase(String passphrase) {
		this.passphrase = passphrase;
	}

	public final String getFilePermissions() {
		return filePermissions;
	}

	public final void setFilePermissions(String filePermissions) {
		this.filePermissions = filePermissions;
	}

	public final String getDirectoryPermissions() {
		return directoryPermissions;
	}

	public final void setDirectoryPermissions(String directoryPermissions) {
		this.directoryPermissions = directoryPermissions;
	}

	public final String getConfiguration() {
		return configuration;
	}

	public final void setConfiguration(String configuration) {
		this.configuration = configuration;
	}

}
